Add a calendar testcase
authorMatthias Clasen <mclasen@redhat.com>
Wed, 22 Jun 2011 03:49:05 +0000 (23:49 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jul 2011 20:08:05 +0000 (16:08 -0400)
tests/a11y/Makefile.am
tests/a11y/calendar.txt [new file with mode: 0644]
tests/a11y/calendar.ui [new file with mode: 0644]

index 71941824d20133170f139010dbf7bcf1545b9f4f..827f35f4d1d0f601baea012e7d8cbc046c6b8f7a 100644 (file)
@@ -41,4 +41,5 @@ EXTRA_DIST += \
        lockbutton.ui lockbutton.txt \
        spinner.ui spinner.txt \
        progress.ui progress.txt \
-       infobar.ui infobar.txt
+       infobar.ui infobar.txt \
+       calendar.ui calendar.txt
diff --git a/tests/a11y/calendar.txt b/tests/a11y/calendar.txt
new file mode 100644 (file)
index 0000000..08601a1
--- /dev/null
@@ -0,0 +1,17 @@
+window1
+  "window"
+  index: 0
+  state: enabled resizable sensitive showing visible
+  toolkit: gail
+  <AtkComponent>
+  layer: window
+  alpha: 1
+  calendar1
+    "calendar"
+    parent: window1
+    index: 0
+    state: enabled focusable sensitive showing visible
+    toolkit: gail
+    <AtkComponent>
+    layer: widget
+    alpha: 1
diff --git a/tests/a11y/calendar.ui b/tests/a11y/calendar.ui
new file mode 100644 (file)
index 0000000..f4562c4
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkWindow" id="window1">
+    <property name="can_focus">False</property>
+    <property name="type">popup</property>
+    <child>
+      <object class="GtkCalendar" id="calendar1">
+        <property name="visible">True</property>
+        <property name="day">1</property>
+        <property name="month">2</property>
+        <property name="year">1970</property>
+      </object>
+    </child>
+  </object>
+</interface>